/**
 * Created by hanj on 2019/11/4 9:18
 */
package com.springcloudkafka.demo.service;

import org.springframework.cloud.stream.annotation.EnableBinding;

@EnableBinding(MySource.class)
public class MyProducer {
    private MySource mySource;

    public MyProducer(MySource mySource) {
        super();
        this.mySource = mySource;
    }

    public MySource getMysource() {
        return mySource;
    }

    public void setMysource(MySource mysource) {
        mySource = mySource;
    }
}
